def pick_fruit():
    pass


def make_juice(fruit, count):
    pass


bottles = []
while True:
    fresh_fruit = pick_fruit()
    if not fresh_fruit:
        break

    for fruit, count in fresh_fruit.items():
        batch = make_juice(fruit, count)
        bottles.extend(batch)
